package com.izhangqian.signproject.webrequest.api

import com.izhangqian.signproject.beans.ApkConfig
import io.reactivex.Observable
import okhttp3.ResponseBody
import retrofit2.Call

object ControlGetRep {

    fun getNewApkConfig() : Observable<ApkConfig> {
        return WebClient.getControl().getNewAppConfig()
    }

    fun getNewApk(url : String) : Call<ResponseBody> {
        return WebClient.getControl().getNewApk(url)
    }
}